import https from "@/utils/http/http2";
export const getCustomerInquiryInfo = params => {
  return https({
    method: "get",
    url: "/customerInquiry/all",
    params
  });
};

// 根据询价单id查询询价单详细
export const getAllInquiryProdectsInfo = id => {
  return https({
    method: "get",
    url: `/customerInquiryDetail/${id}`
  });
};

// 保存供应商询价单
export const saveInquiryProductsInfo = data => {
  return https({
    method: "post",
    url: `/productInquiry`,
    data: data
  });
};
